from webdrive2 import WD

driver = WD()
'''
use the WD() 这个类
'''

driver.get('http://www.baidu.com')
driver.find_element_by_xpath('lkndcjlnfclvd')
t = driver.title
print(t)
cu = driver.current_url
print(cu)
